package com.example.zhu.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class Coupon {


    //主键id
    private Integer id;

    //优惠券数量
    private String name;

    //满减条件
    private String condition;

    //卡有效开始时间
    private Long startAt;

    //卡失效日期
    private Long endAt;

    //描述信息
    private String description;

    //不可用原因
    private String reason;

    //折扣券优惠金额
    private Integer value;

    //折扣券优惠金额文案
    private String valueDesc;

    //单位文案
    private String unitDesc;

    //自定义有效时间文案
    private String customValidPeriod;


}
